# -*- coding: utf-8 -*-
# TencentBlueKing is pleased to support the open source community by making
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
# Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
# Licensed under the MIT License (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
#     http://opensource.org/licenses/MIT
#
# Unless required by applicable law or agreed to in writing, software distributed under
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied. See the License for the specific language governing permissions and
# limitations under the License.
#
# We undertake not to change the open source license (MIT license) applicable
# to the current version of the project delivered to anyone in the future.

# Generated by Django 3.2.12 on 2022-04-26 08:34

from django.db import migrations, models
import jsonfield.fields


class Migration(migrations.Migration):

    dependencies = [
        ('services', '0003_service_logo_b64'),
    ]

    operations = [
        migrations.RenameField(
            model_name='service',
            old_name='description',
            new_name='description_zh_cn',
        ),
        migrations.RenameField(
            model_name='service',
            old_name='display_name',
            new_name='display_name_zh_cn',
        ),
        migrations.RenameField(
            model_name='service',
            old_name='instance_tutorial',
            new_name='instance_tutorial_zh_cn',
        ),
        migrations.RenameField(
            model_name='service',
            old_name='long_description',
            new_name='long_description_zh_cn',
        ),
        migrations.AddField(
            model_name='service',
            name='description_en',
            field=models.CharField(blank=True, max_length=1024, verbose_name='服务简介'),
        ),
        migrations.AddField(
            model_name='service',
            name='display_name_en',
            field=models.CharField(blank=True, default='', max_length=128, verbose_name='服务全称'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='service',
            name='instance_tutorial_en',
            field=models.TextField(blank=True, verbose_name='服务markdown介绍'),
        ),
        migrations.AddField(
            model_name='service',
            name='long_description_en',
            field=models.TextField(blank=True, verbose_name='服务详细介绍'),
        ),
        migrations.AlterField(
            model_name='precreatedinstance',
            name='config',
            field=jsonfield.fields.JSONField(default=dict, help_text='same of ServiceInstance.config'),
        ),
        migrations.AlterField(
            model_name='service',
            name='logo_b64',
            field=models.TextField(blank=True, null=True, verbose_name='服务 logo 的地址, 支持base64格式'),
        ),
    ]
